/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aybolit.core.objects.dao.impl;

import aybolit.core.objects.model.Operators;
import javax.faces.context.FacesContext;

/**
 *
 * @author Masumov Emin
 */
public class DAO {
     public Operators getOperator() {
        FacesContext context = FacesContext.getCurrentInstance();
        Operators oper = (Operators) context.getExternalContext().getSessionMap().get("oper");
        return oper;
    } 
}
